package studio.raptor.httpinvoker.service;

import java.io.Serializable;

/**
 * @author jack
 * @since 1.0
 */
public class Booking implements Serializable {

  private String bookingCode;

  public Booking(String bookingCode) {
    this.bookingCode = bookingCode;
  }

  public String getBookingCode() {
    return bookingCode;
  }

  public void setBookingCode(String bookingCode) {
    this.bookingCode = bookingCode;
  }

  @Override
  public String toString() {
    return String.format("Ride confirmed: code '%s'.", bookingCode);
  }
}
